import { lazy } from "react";

const Teacher = lazy(() => import("@/pages/SchoolManage/Teacher/index"));
const Class = lazy(() => import("@/pages/SchoolManage/Class/index"));

const router = [
  {
    path: "/school-manage",
    meta: { name: "课程管理" },
    children: [
      {
        path: "teacher",
        meta: { name: "教师管理" },
        element: <Teacher />,
      },
      {
        path: "class",
        meta: { name: "班级安排" },
        element: <Class />,
      },
    ],
  },
];

export default router;
